/*
 * IBM Corporation.
 * Copyright (c) 2014 All Rights Reserved.
 */

package com.ibm.iisp.datamanager.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 类作用：
 * @author qushaoyan@cn.ibm.com
 * 使用说明：
 */
@Controller
@RequestMapping("/iisp-data-mgr")
public class DataManagerController {

	@RequestMapping("/data-tables")
	public String dataTables(Model model) {
		return "/iisp-data-mgr/tables.ftl";
	}

	@RequestMapping("/data-table-data")
	public String tableDatas(Model model) {
		return "/iisp-data-mgr/tableDatas.ftl";
	}

	@RequestMapping("/data-input-state")
	public String dataInputState(Model model) {
		return "/iisp-data-mgr/dataInputState.ftl";
	}

	@RequestMapping(value = "/data-input-date", method = RequestMethod.GET)
	public String dataInputDate(Model model) {
		return "/iisp-data-mgr/dataInputDate.ftl";
	}
	
}
